package service.impl;

import bean.pojo.GdDoctor;
import dao.GdDoctorMapper;
import org.springframework.stereotype.Service;
import service.GdDoctorService;

import javax.annotation.Resource;
import java.util.List;
@Service
public class GdDoctorServiceImpl implements GdDoctorService {
    @Resource
    private GdDoctorMapper gdDoctorMapper;
    @Override
    public boolean insert(GdDoctor pojo) {
        return false;
    }

    @Override
    public boolean insertList(List<GdDoctor> pojos) {
        return false;
    }

    @Override
    public List<GdDoctor> select() {
        return gdDoctorMapper.select();
    }


    @Override
    public List<GdDoctor> selectWithOrder(String condition) {
        return gdDoctorMapper.selectWithOrder(condition);
    }

    @Override
    public List<GdDoctor> selectByCondition(String column,Object condition) {
        return gdDoctorMapper.selectByCondition(column,condition);
    }


    /**
     * 通过id查询用户信息
     * @param id
     * @return
     */
    @Override
    public GdDoctor selectById(Long id) {
        return gdDoctorMapper.selectById(id);
    }

    @Override
    public boolean update(GdDoctor pojo) {
        return false;
    }

    @Override
    public boolean updateFollower(Long id, Integer followers) {
        return false;
    }


}
